home *** CD-ROM | disk | FTP | other *** search
/ Plug-In Power Pack for Netscape Communicator / Plug-In Power Pack for Netscape Communicator.iso / plugins / dataviews / include / vtfundecl.h < prev    next >
C/C++ Source or Header  |  1997-05-08  |  3KB  |  86 lines

  1. /*
  2.  * VTfundecl.h
  3.  * VT routine declarations
  4.  *
  5.  */
  6.  
  7. #ifndef VTFUNDECL_H
  8. #define VTFUNDECL_H
  9.  
  10. #ifdef __cplusplus
  11. extern "C" {
  12. #endif /* __cplusplus */
  13.  
  14. #include "std.h"
  15. #include "dvstd.h"
  16.  
  17.  
  18. /***
  19. *** 
  20. ***/
  21.  
  22.  
  23.  
  24.  
  25. /* VT/VThashtab.c */
  26. ADDRESS VThtsizecreate V_P_((char *table_name,
  27.                  VTHTCONVERTFUNPTR ConvertKeyFcn,
  28.                  VTHTCOMPAREFUNPTR CompareFcn,
  29.                  int initial_size));
  30. ADDRESS VThtcreate V_P_((char *table_name,
  31.              VTHTCONVERTFUNPTR ConvertKeyFcn,
  32.              VTHTCOMPAREFUNPTR CompareFcn));
  33. void VThtdestroy V_P_((ADDRESS htp,
  34.                VTHTFREEKEYFUNPTR FreeKey,
  35.                VTHTFREEVALFUNPTR FreeValue));
  36. ADDRESS VThtget V_P_((char *ht_name));
  37. ADDRESS VThthnget V_P_((register ADDRESS htp, int index));
  38. char *VThnkey V_P_((ADDRESS hnp));
  39. void VThnsetvalue V_P_((ADDRESS hnp, int *newvalue));
  40. int *VThnvalue V_P_((ADDRESS hnp));
  41. int VThtlen V_P_((ADDRESS htp));
  42. ADDRESS VThtkeyfind V_P_((register ADDRESS htp,  char *searchkey));
  43. ADDRESS VThtvalfind V_P_((ADDRESS htp,  register ADDRESS hnptr,
  44.      int *searchval));
  45. int VThtcountval V_P_((ADDRESS htp, int *searchval));
  46. ADDRESS VThthninsert V_P_((ADDRESS htptr,  char *newkey,
  47.      int *newvalue));
  48. void VThthnremove V_P_((ADDRESS htp, ADDRESS hnp));
  49. void VThttraverse V_P_((ADDRESS htp,
  50.             VTHTTRAVERSEFUNPTR fcn,
  51.             ADDRESS args));
  52. void VThtstats V_P_((ADDRESS htp));
  53. ULONG VThtstrconvert V_P_((register char *s));
  54.  
  55. /* VT/VTsymtab.c */
  56. ADDRESS VTstcreate V_P_((char *table_name,
  57.              VTSTCOMPAREFUNPTR compare_fcn));
  58. ADDRESS VTstsizecreate V_P_((char *table_name,
  59.                  VTSTCOMPAREFUNPTR compare_fcn,
  60.                  int initial_size));
  61. void VTstdestroy V_P_((ADDRESS stp));
  62. ADDRESS VTstget V_P_((char *st_name));
  63. ADDRESS VTstsnget V_P_((register ADDRESS stp, int index));
  64. char *VTsnkey V_P_((ADDRESS snp));
  65. void VTsnsetvalue V_P_((ADDRESS snp, int *newvalue));
  66. int *VTsnvalue V_P_((ADDRESS snp));
  67. int VTstlen V_P_((ADDRESS stp));
  68. ADDRESS VTstkeyfind V_P_((ADDRESS stp, char *searchkey));
  69. ADDRESS VTstvalfind V_P_((ADDRESS stp,  register ADDRESS snp,
  70.      int *searchval));
  71. int VTstcountval V_P_((ADDRESS stp, int *searchval));
  72. ADDRESS VTstsninsert V_P_((register ADDRESS stp,  char *newkey,
  73.      int *newvalue));
  74. void VTstsnremove V_P_((ADDRESS stp, ADDRESS snp));
  75. void VTsttraverse V_P_((ADDRESS stp,  VTSTTRAVERSEFUNPTR fcn,
  76.             ADDRESS args));
  77. void VTsnprint V_P_((char *key, int *value));
  78. void VThashPoolFree V_P_((void));
  79.  
  80.  
  81. #ifdef __cplusplus
  82. }
  83. #endif /* __cplusplus */
  84.  
  85. #endif /* VTFUNDECL_H */
  86.